package cart.service.impl;

import org.springframework.stereotype.Service;

import cart.service.GoodsServiceFeignClient;
import common.model.result.Result;
import common.model.result.ResultCodeEnum;

@Service
public class GoodsServiceFeignClientFallback implements GoodsServiceFeignClient {
    @Override
    public Result getGoodsDetail(Long id) {
        return Result.failure(ResultCodeEnum.FAIL,"商品详情获取失败");
    }
    @Override
    public Result getSpuVo(Long id) {
        return Result.failure(ResultCodeEnum.FAIL,"商品详情获取失败");
    }
    @Override
    public Result getSkuDTO(Long id) {
        return Result.failure(ResultCodeEnum.FAIL,"商品详情获取失败");
    }
}
